home *** CD-ROM | disk | FTP | other *** search
- %%BeginFile: lw8_safeclipL12-1.0
- /rectclip where
- {
- pop/rCa/rectclip ld
- }{
- /rCa
- {
- np 0
- 1 index length 4 idiv
- {
- 2 copy
- 4 getinterval
- aload pop
- 4 2 roll
- :M
- 1 index 0 rl
- 0 exch rl
- neg 0 rl
- :K
- 4 add
- }repeat
- clip np
- pop pop
- }bd
- }ifelse
- /savedstack Z
- /subsavedstack Z
- /execstring Z
- /saferCa
- {
- /execstring xs
- /odictstk countdictstack store
- /oopstk 0 store
- count 0 ne
- {
- savedstack 0 eq{
- count 100 gt{count}{100}ifelse
- array/savedstack xs
- }{
- count savedstack length gt
- {
- count array/savedstack xs
- }if
- }ifelse
- count savedstack 0 3 -1 roll
- getinterval
- astore/subsavedstack xs
- }{
- /subsavedstack 0 store
- }ifelse
- execstring cvx stopped
- {
- $error/newerror F put
- newpath
- }if
- fcl
- subsavedstack 0 ne{
- subsavedstack aload pop
- }if
- }bd
- %%EndFile
-